﻿namespace ScrumLite.WebUx.Models
{
    using System.Collections.Generic;

    public class CommitmentsMetricsData : ContextViewData
    {
        public CommitmentsMetricsData(): this(new Dictionary<int,int>(), new Dictionary<int,int>())
        {

        }

        public CommitmentsMetricsData(Dictionary<int, int> weeklyOpenCommitments, Dictionary<int, int> weeklyClosedCommitments)
        {
            this.WeeklyClosedCommitmentsCount = weeklyClosedCommitments;
            this.WeeklyOpenCommitmentsCount = weeklyOpenCommitments;
        }

        public Dictionary<int, int> WeeklyOpenCommitmentsCount { get; private set; }
        public Dictionary<int, int> WeeklyClosedCommitmentsCount { get; private set; }
        public string GChartWeeklyCommitmentsBars { get; set; }
        public string GChartTotalCommitmentsBars { get; set; }
    }
}
